import { Get_Infomation, Search_Infomation, Add_Infomation, Editor_Infomation, Editor_infomation } from "../actionsType";

const Infomations = {
    getInfomation: (data) => {
        return {
            type: Get_Infomation,
            payload: data
        }
    },
    searchInfomation: (data) => {
        return {
            type: Search_Infomation,
            payload: data,
        }
    },
    addInfomation: (data) => {
        return {
            type: Add_Infomation,
            payload: data,
        }
    },
    editorInfomation: (data) => {
        return {
            type: Editor_Infomation,
            payload: data,
        }
    },
    editor: (data) => {
        return {
            type: Editor_infomation,
            payload: data,
        }
    },
}

export default Infomations